

const pages = [
  'pages/index/index',
  'pages/my/my',
  'pages/login/login',
  'pages/webview/webview'

]


const subpackages = [{
  root: 'packageUser',
  pages: [
    'pages/setting/setting',
    'pages/promotion/promotion',
    'pages/personInfo/personInfo',
    'pages/privacy/privacy'
    

  ]
},
{
  root: 'packageSettled',
  pages: [
    'pages/examineProcess/examineProcess',
    'pages/userJoinInfo/userJoinInfo',
    'pages/topicSetting/topicSetting',
    'pages/userReadme/userReadme',
    'pages/photoVideo/photoVideo',
    


  ]
}, {
  root: 'packageEdit',
  pages: [
    'pages/editDescription/editDescription',
    'pages/editNickName/editNickName',
    'pages/editVideo/editVideo',
    'pages/editPhoto/editPhoto',


  ]
}];

export default defineAppConfig({
  pages,
  subpackages,
  // lazyCodeLoading: "requiredComponents",
  // renderer:'skyline',
  // rendererOptions: {
  //   skyline: {
  //     defaultDisplayBlock: true,
  //     defaultContentBox: true,
  //     sdkVersionBegin:'3.0.0',
  //     sdkVersionEnd:'15.255.255'
  //   }
  // },
  // componentFramework:'glass-easel',
  window: {
    backgroundTextStyle: 'light',
    navigationBarBackgroundColor: '#fff',
    navigationBarTitleText: 'WeChat',
    navigationBarTextStyle: 'black'
  },
  tabBar: {
    color: '#C1C1CB',
    selectedColor: '#161618',
    backgroundColor: '#fff',
    borderStyle: 'white',
    list: [
      {
        pagePath: 'pages/index/index',
        text: '预约单',
        iconPath: './assets/tabbar/tabbar-home.png',
        selectedIconPath: './assets/tabbar/tabbar-home-active.png'
      },
      {
        pagePath: 'pages/my/my',
        text: '我的',
        iconPath: './assets/tabbar/tabbar-my.png',
        selectedIconPath: './assets/tabbar/tabbar-my-active.png'
      }
    ]
  }
});
